package net.chenlin.dp.modules.newBusiness.dao;

import net.chenlin.dp.modules.newBusiness.entity.po.DeviceMessagePo;
import net.chenlin.dp.modules.newBusiness.entity.po.DeviceQueryReplayPo;
import net.chenlin.dp.modules.newBusiness.entity.vo.DeviceQueryReplayVo;
import net.chenlin.dp.modules.newBusiness.entity.vo.TopologyNodeVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author: Yansgm
 * @Description:
 * @Date: 2025-04-14 20:32:14
 */
@Mapper
public interface DeviceMessageMapper {

    void insertDeviceMessage(DeviceMessagePo po);

    void insertDeviceQueryReplay(DeviceQueryReplayPo po);

    void updateOnline(String monitorId);

    void updateOffline(String monitorId);

    List<TopologyNodeVo> getAllDevice();

    DeviceQueryReplayVo getQueryData(String deviceNo);

    void updateDeviceQueryReplay(String monitorId);

    Integer getDistrictId(String monitorId);
}
